﻿<%@ Page Title="" Language="C#" MasterPageFile="~/pages/master/WebForm.Master" AutoEventWireup="true"
    CodeBehind="UserModifyRoles.aspx.cs" Inherits="BF.Web.pages.BaseSystem.UserManagement.UserModifyRoles" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        $(function () {
            var jsonString = winer.parentDom.document.getElementById("ctl00_ContentPlaceHtml_hidModifyUserID").value;
            $("#ctl00_ContentPlaceHolder1_hidUserIdArray").val(jsonString);
        });

        function ShowToolTip(e, tex) {
            var obj = (e.srcElement) ? e.srcElement : (e.target) ? e.target : null;
            obj.title = tex.toString();
            //                debugger;
        }

        //关闭窗口
        function DoClose() {
            winer.close();
            return false;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="content01">
        <thead>
            <tr>
                <td style="width: 70px">
                </td>
                <td>
                </td>
                <td style="width: 50px">
                </td>
                <td>
                </td>
            </tr>
        </thead>
        <tbody>
            <tr style="height: 18px;">
                <td colspan="4">
                </td>
            </tr>
            <tr>
                <td align="right" style="vertical-align: top; width: 100px;">
                    用户角色：
                </td>
                <td colspan="3" align="left">
                    <div style="margin-left: -8px;">
                        <asp:CheckBoxList ID="UserRoles" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"
                            EnableTheming="False" />
                    </div>
                </td>
            </tr>
            <tr style="height: 18px;">
                <td colspan="4">
                </td>
            </tr>
        </tbody>
    </table>
    <table width="100%" height="36" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center">
                <asp:Button ID="lbtnSave" runat="server" TabIndex="0" Text="保存" class="btn04" OnClick="lbtnSave_Click" />&nbsp;
                <asp:Button ID="lbtnClose" runat="server" OnClientClick="return DoClose() ;" TabIndex="0"
                    Text="关闭" class="btn04" />
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hidUserIdArray" Value="" runat="server" />
    <asp:UpdatePanel ID="Updatepanel1" runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="lbtnSave" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
